package com.pengshun.modules.api.petrol.service;

import com.pengshun.modules.api.petrol.service.dto.JyPetrolStationOrderDto;
import com.pengshun.modules.api.petrol.service.para.JyPetrolStationOrderPara;
import com.pengshun.modules.common.BaseResult;
import com.pengshun.modules.common.PagePara;
import com.pengshun.modules.domain.JyPetrolStationProduct;
import com.pengshun.modules.domain.JyPetrolStationReal;

/**
 * @author luoligang
 * @create 2021/6/30
 */
public interface JyPetrolStationOrderService {

    BaseResult add(JyPetrolStationOrderPara para) throws Exception;


    BaseResult orderList(PagePara para);

    BaseResult detil(Long petrolStationOrderId);

    BaseResult merchantOrderList(PagePara page, JyPetrolStationOrderDto para,Long userId);

    BaseResult qrcode(Long id, JyPetrolStationOrderDto para) throws Exception;

    BaseResult orderUpdate(Long id, Long petrolStationOrderId);

    BaseResult stationDetil(Long id);

    BaseResult stationUpdate(Long id, Integer cooperateState);

    BaseResult productList(Long id);

    BaseResult productUddate(Long id, JyPetrolStationProduct para);

    BaseResult stationReal(Long id, JyPetrolStationReal para);

}
